package com.forum.dao;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.plugins.pagination.Pagination;
import com.forum.entity.SubjectCoursesTabEntity;
import com.forum.entity.view.SubjectCoursesTabView;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface SubjectCoursesTabDao extends BaseMapper<SubjectCoursesTabEntity> {
    /*List<XuekekechengVO> selectListVO(@Param("ew") Wrapper<XuekekechengEntity> wrapper);

    XuekekechengVO selectVO(@Param("ew") Wrapper<XuekekechengEntity> wrapper);*/

    List<SubjectCoursesTabView> selectListView(@Param("ew") Wrapper<SubjectCoursesTabEntity> wrapper);

    List<SubjectCoursesTabView> selectListView(Pagination page, @Param("ew") Wrapper<SubjectCoursesTabEntity> wrapper);

    SubjectCoursesTabView selectView(@Param("ew") Wrapper<SubjectCoursesTabEntity> wrapper);


    List<Map<String, Object>> selectValue(@Param("params") Map<String, Object> params, @Param("ew") Wrapper<SubjectCoursesTabEntity> wrapper);

    List<Map<String, Object>> selectTimeStatValue(@Param("params") Map<String, Object> params,@Param("ew") Wrapper<SubjectCoursesTabEntity> wrapper);

    List<Map<String, Object>> selectGroup(@Param("params") Map<String, Object> params,@Param("ew") Wrapper<SubjectCoursesTabEntity> wrapper);

}
